﻿<Window x:Class="WpfCustomControl.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:control="clr-namespace:WpfCustomControl"
        Title="MainWindow" Height="350" Width="400">
  <Grid>
    <DockPanel  Margin="20"    Height="30">
      <Button DockPanel.Dock="Right" Height="25" Content="select"  x:Name="btnSelect" Click="btnSelect_Click"  VerticalAlignment="Center" Margin="5,0,0,0"/>
      <control:TextBoxEllipisis  x:Name="tbPath"  />
    </DockPanel>
  </Grid>
</Window>
